Method and system for enforcing access control policies on data

ABSTRACT

A method for enforcing access control policies on data owned by a plurality of users includes evaluating the access control policies of users, applying a collusion resistant sharing scheme for generating key shares of an encryption key and delegating the key shares to one or more designated users based on a result of the evaluation. The data is securely dispersed by applying an encryption scheme on all parts of the data to be encrypted to produce encrypted data shares. The encryption scheme is provided such that for decryption of the encrypted data, the encryption key and at least a predetermined number of data shares are provided. Each data share is delegated to one or more designated users, and the data shares and the key shares are distributed to the respective designated users.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a U.S. National Phase application under 35 U.S.C. §371 of International Application No. PCT/EP2014/058398 (WO 2014/174045 Al), filed on Apr. 24, 2014, and claims benefit to European Patent Application No. EP 13165172.1, filed Apr. 24, 2013.

FIELD

The present invention relates to a method for enforcing access control policies on data owned by a plurality of users. The present invention further relates to a system, preferably a cloud storage system, for enforcing access control policies on data owned by a plurality of users. The present invention also further relates to a use of a cloud storage application programming interface.

BACKGROUND

Cloud storage provides in a convenient way a sharing of files for users and enables collaborations between users working on the shared files. Conventional cloud storage platforms have the principle of a centralized file ownership: A file is owned by a single user who then unilaterally decides all access requests to “his” file. However collaborations that could benefit from cloud storage are in most cases not suited for such a centralized ownership.

For example when considering a scenario where a number of research organizations would like to set up a repository to collaborate on a joint research project. A cloud would be a conventional solution to host this repository. If all participants contribute their research efforts to the joint research project, then they may also want to share the ownership over the collaborative data so that all ownership and access decisions are agreed upon among the owners. One of the advantages of such a shared ownership is that for example a sole owner cannot abuse the given trust by ignoring other owners and unilaterally making decisions. This advantage is even more important since users tend to increasingly store most or all of their data in the cloud storage without keeping local copies.

Even if owners are willing to choose and trust one of them with unilateral decision rights this trusted user may not want to be held accountable for collecting and correctly evaluating the access policies of other owners: For example, incorrect evaluations may incur negative reputation, financial penalties, or the like. If this is the case no user would like to become the accountable party.

Apart from the above collaboration considerations further aspects are the correct enforcement of individual access policies set by the respective file owners as well as the security against adversaries. In particular security means on the one hand that an adversary is not enabled to gain access to shared content for which he has not granted access to and on the other hand to prevent access to a shared content from users who have corresponding access rights.

Conventional authorization logics—for example shown in the non patent literature of M. Y. Becker, C. Fournet, and A. D. Gordon, “SecPAL: Design and Semantics of a Decentralized Authorization Language”, in Journal of Computer Security (JCS), pages 597-643, 2010 rely on the presence of designated policy decision point components for evaluation of access policies. For a Datalog-based language such as SecPAL the policy decision points can be based on a generic Datalog interpreter. However these policy decisions points cannot be deployed within a third-party cloud system. Another disadvantage is that such distributed authorization languages assume a centralized ownership of resources and as such they rely on an administrator user to define and modify the access policies.

Conventional enforcement methods which are for example based on Attribute-Based Encryption as mentioned in the non patent literature of V. Goyal, O. Pandey, A. Sahai, and B. Waters, “Attribute-based encryption for fine-grained access control of encrypted data”, in Proceedings of the 13^(th) ACM conference on Computer and communications security, pages 89-98, 2006 or in the non-patent literature of A. Sahai and B. Waters, “Fuzzy Identity-Based Encryption”, in EUROCRYPT, pages 457-473, 2005 as well as based on the so-called multi-authority attribute based encryption as mentioned for example in the non-patent literature of M. Chase “Multi-authority attribute based encryption”, in Proceedings of the 4^(th) conference on Theory of cryptography, pages 515-534, 2007 all require a single ownership of a file and as such the owner can always unilaterally decide to delete a file or to reencrypt a file by unilaterally changing corresponding thresholds. The decentralized attribute based encryption provide shares of a secret being blinded with shares of 0 such that if a user collects enough shares for the identity the blinding parameters can be cancelled out and the secret can be reconstructed. However a malicious holder of shares can compute additional delegations of the share to any other user.

SUMMARY

According to an embodiment, a method for enforcing access control policies on data owned by a plurality of users is provided. The method includes evaluating the access control policies of users, applying a collusion resistant sharing scheme for generating key shares of an encryption key and delegating the key shares to one or more designated users based on a result of the evaluation, and securely dispersing the data by applying an encryption scheme on all parts of data to be encrypted to produce encrypted data shares. The encryption scheme is provided such that for decryption of the encrypted data shares the encryption key and at least a predetermined number of data shares are required. The method also includes delegating each data share to one or more designated users, and distributing the data shares and the key shares to the respective designated users.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will be described in even greater detail below based on the exemplary figures. The invention is not limited to the exemplary embodiments. All features described and/or illustrated herein can be used alone or combined in different combinations in embodiments of the invention. The features and advantages of various embodiments of the present invention will become apparent by reading the following detailed description with reference to the attached drawings which illustrate the following:

FIG. 1 shows procedures according to the Shamir secret sharing scheme;

FIG. 2 shows part of the steps of a method according to a first embodiment of the present invention; and

FIG. 3 shows part of the steps of a method according to a second embodiment of the present invention.

DETAILED DESCRIPTION

Although applicable to storage and storage services in general, the present invention will be described with regard to cloud storage and cloud storage services.

Conventional enforcement methods cannot provide shared ownership but require an administrator. According to an embodiment, the present invention provides a method and a system for enforcing access control policies on data owned by a plurality of users enabling an easy enforcement of access policies for a shared ownership of data.

An embodiment of the present invention provides a method and a system for enforcing access control policies on data owned by a plurality of users enabling distributed enforcement of access controlled policies in agnostic clouds.

An embodiment of the present invention provides a method and a system for enforcing access control policies on data owned by a plurality of users which do not require an operator, superowner, or administrator for the data to decide whether other users have access to the data or not.

According to an embodiment, a method includes a) evaluating the access control policies of users, b) applying a collusion resistant sharing scheme, preferably based on secret sharing and attribute-based encryption, for generating key shares of an encryption key and delegating the key shares to one or more designated users based on a result of the evaluation of step a), c) securely dispersing the data by applying an encryption scheme on all parts of the data to be encrypted, preferably using an output of the collusion resistant secret sharing scheme as encryption key for encryption, resulting in encrypted data shares, wherein the encryption scheme is provided such that for decryption of the encrypted data the encryption key and at least a predetermined number of data shares are required, d) delegating each data share to one or more designated users, and e) distributing the data shares and the key shares to the respective designated users.

According to an embodiment, a system includes an evaluation module operable to evaluate the access control policies of users, a sharing module operable to apply a collusion resistant sharing scheme, preferably based on secret sharing and attribute-based encryption, for generating key shares of an encryption key and delegating the key shares to one or more designated users based on a result outputted by the evaluation module a dispersing module operable to securely disperse the data by applying an encryption scheme on all parts of the data to be encrypted, preferably using an output of the collusion resistant secret sharing scheme as encryption key for encryption, resulting in encrypted data shares, wherein the encryption scheme is provided such that for decryption of the encrypted data the encryption key and at least a predetermined number of data shares are required, a delegation module operable to delegate each data share to one or more designated users, and a distribution module operable to distribute the data shares and the key shares to the respective designated users.

According to an embodiment of the invention it has been recognized that an efficient information dispersal, for example in a cloud, is enabled.

According to an embodiment of the invention it has been further recognized that malicious users cannot pool their shares and acquire access to data or a file for which they are not entitled to have access rights to.

According to an embodiment of the invention it has been even further recognized that conventional cloud application programming interfaces can be used to enforce access control policies in a completely decentralized manner.

According to an embodiment of the invention it has been even further recognized that flexibility is enhanced since for example given a set of owners of files, the file can be spread among account owners on a cloud and each owner can exert his arbitrary access control policy on the portion of the file on his account and corresponding thresholds for the number of predetermined data shares are derived from the evaluation of each owner's individual policy. For example if an owner wants to grant read access to a user to a file then the owner allows the user to read the portion of the file stored on his account. As a result if the user is granted read access to at least the predetermined number of pieces of the file from the same number of distinct owners then the user may be granted read access to the file.

In other words, an embodiment of the present invention provides secure file dispersal and a collusion resistant delegation: Secure file dispersal ensures that users that do not have access to a certain number of tokens or file shares cannot acquire any information about the file in total unless they have already stored a considerable portion of the corresponding file, for example in a prior read operation. On the other hand the collusion resistant delegation together with the secure file dispersal ensures that users cannot pool their key shares and files shares together in order to access file that they cannot access otherwise. The individual user access control policies are at the beginning evaluated and based on the evaluation the key shares and the data shares are then delegated respectively dispersed to the respective users. This ensures a reliable delegation and distribution of shares to the respective users.

According to a preferred embodiment the encryption scheme of step c) is an all-or-nothing encryption, preferably using a symmetric algorithm for both encryption and decryption, in particular preferably being length preserving. Using an all-or-nothing encryption with a preferably symmetric algorithm, i.e., the same algorithm is used for both file encryption and file decryption enables an easy implementation and fast execution of the encryption scheme.

According to a further preferred embodiment the encryption scheme of step c) uses a fast-Fourier transform. This enables in particular in combination with an all-or-nothing encryption to reduce the encryption rounds to a total of log(n) encryption rounds with n being the number of blocks of the input data to be encrypted.

According to a further preferred embodiment the collusion resistant sharing scheme comprises a threshold secret sharing scheme, preferably in form of a Shamir secret sharing scheme. The Shamir secret sharing scheme provides a perfect secret sharing scheme and the reconstruction of the secret is possible with only a subset of the secret to be known. However, Shamir secret sharing does not provide collusion resistance. Thus a reliable secret sharing of shares is provided when for example combined with the attribute-based encryption to provide collusion resistance of key shares.

According to a further preferred embodiment decrypting of the encrypted data is performed when the number of accessible key shares and file shares are above the respective thresholds. This enables in an easy way to decrypt the encrypted data in the decentralized manner. Even further flexibility is enhanced since for example revocation of access to key shares of file shares revokes also access to the corresponding encrypted data and therefore decryption is not possible anymore.

According to a further preferred embodiment for storing data of users a cloud storage is used wherein each user of the plurality of users has a personal account for storing a part of the data to be encrypted and with its access control policy for controlling access to the data. This enables an easy implementation of the method in a cloud storage system.

According to a further preferred embodiment for changing access control to the data one or more users are allowed and/or restricted to access data shares and key shares of other one or more users. This further enhances the flexibility, since access control can be simply changed, for example by restricting the access to the corresponding shares by a user or a group of users. Therefore an update of the access control policy of a user or a plurality of users can be performed easily and quickly.

According to a further preferred embodiment a forward error correction coding, preferably a linear block code, preferably a Reed-Solomon coding is used in step c). This enables to disperse information even more efficiently.

FIG. 1 shows procedures according to the Shamir secret sharing scheme.

In FIG. 1 the algorithms SS.Share and SS.Combine according to the Shamir secret sharing scheme are shown: The secret is set to g^(x) for a random to chosen x. The encryption key and when performing the collusion resistant delegation the encryption key K=g^(x) is outputted at the beginning. This encryption key K, which as already mentioned may be outputted by a collusion resistant delegation procedure may then be used to encrypt the file in the secure file dispersal procedure.

The SS.Share procedure works in detail as follows: A cyclic group G having prime order is picked such that the discrete logarithm fulfills a hardness criterion. A random number out of a integer field of order q is chosen and the generator g of the group together with the random number is used as secret or encryption key respectively: s=g^(x) Then a polynomial X of degree t−1 is picked with coefficients in integer field of order q such that X(0)=x and X(i)=x_(i) with i<t.

For decryption, i.e. reconstruction of the polynomial X and obtaining the secret the SS.Combine procedure uses the Lagrange-interpolation with appropriately chosen coefficients.

FIG. 2 shows in the following such a collusion resistant delegation procedure, preferably performed prior to the secure file dispersal as mentioned above.

FIG. 2 shows part of the steps of a method according to a first embodiment of the present invention.

The collusion resistant delegation procedure comprises the procedures CRD.SHARE, CRD.COMBINE, CRD.DELEGATE and CRD.DCOMBINE. The CRD.SHARE-procedure is based on the Shamir secret sharing procedure as well as the CRD.COMBINE-procedure. The CRD.DELEGATE-procedure is used to delegate the shares s_(i) to corresponding users U_(j) resulting in a delegation d_(i,j) and the CRD.DCOMBINE-procedure uses the CRD.Combine-procedure for the corresponding delegations d_(i,j) of the shares s_(i) to reconstruct respectively output the reconstructed secret s′. The delegations d_(i,j) of the shares s_(i) to users U_(j) are generated according to attribute-based encryption. For example in the CRD.Share-procedure a cryptographic hash function H(.) is chosen mapping random strings within the cyclic group G chosen in the SS.Share-procedure. This cryptographic hash function H(.) is then combined with the generator of the cyclic group G with one part x_(i) of the key share s_(i), with the user U_(j) and a second part of the key share y_(i). The CRD.COMBINE-procedure as well as the SS.COMBINE-procedure is preferably based on the corresponding procedures as shown in FIG. 1.

FIG. 3 shows part of the steps of a method according to a second embodiment of the present invention.

In FIG. 3 a secure file dispersal scheme is shown using an all-or-nothing transform scheme AONT based on fast-Fourier transform FFT which is performed as follows: A file F is divided into n input blocks x1, . . . , xn. λ denotes the size of each block. A block cipher E: {0,1}^(2λ)×{0, 1}^(2λ)→{0, 1}^(2λ) is used, e.g., E(.) could correspond to AES256, with λ=128). This FFT-AONT is a symmetric algorithm (i.e., the same algorithm is used for both file encryption and file decryption) and is length-preserving. FFT-AONT results in a total of n log(n) block encryptions performed in a total of log(n) encryption rounds. In summary FIG. 3 E(X, Y, Z) encrypts Y═Z using encryption key X with E(.) being a block cipher.

The procedures as shown in the FIG. 1-3 above can be used for example with a cloud storage in which each user has a personal account in which he or she stores his or her portion of the files and applies his/her own access control policies on files stored within the folder. In detail a cloud storage platform S may used where a finite number of users U={U₁, . . . , U_(N)} have personal accounts onto which they can upload files. Each user U_(i) knows the identities and the public keys of other users in the plurality of users U. Each user U_(i) authenticates himself to the cloud storage platform S before downloading and/or uploading content. When a user U_(i) uploads a file to his account he then decides who has access to this file. The cloud storage platform S enables each user to define for each of his files an access control policy of the type: Subjects×Actions→{grant, deny}. A creator of the file who would like to delegate access rights according to his access control policy applies the above mentioned collusion resistant delegation scheme to delegate key shares in a collusion resistant way to the designated one or more users.

Upon performing the collusion resistant delegation the output of this procedure is then used as encryption key to encrypt the file. The creator of the file then spreads respectively distributes the key shares and the file shares to each user according to the secret file dispersal scheme. If users would like another user to have access to the file then this user is given access to their file shares and key shares. If a user has enough key shares and file shares, i.e. the number of key shares and file shares are above the corresponding threshold then the corresponding user can recover the entire file blocks and decrypt them. Other users cannot collude.

As a result if a user U_(i) is granted read access to at least t pieces of the file F from t distinct owners then the user U_(i) is granted to read access to the whole file F. In this case even if some user delete their portions of the file F, F can still be recovered provided that there are enough pieces of the file F that can be accessed by other users.

In summary, an embodiment of the present invention enables efficient information dispersal and an all-or-nothing transform together with a collusion resistant share delegation to yield distributed enforcement of access control policies in agnostic clouds. The present invention further leverages existing cloud application programming interfaces to enforce decentralized and threshold-based access control on files stored in the cloud. Even further the present invention ensures that malicious users cannot put their shares together and acquire access to a file for which they are not entitled to have access rights to. Even further the present invention enforces access control policies in a completely decentralized manner

While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive. It will be understood that changes and modifications may be made by those of ordinary skill within the scope of the following claims. In particular, the present invention covers further embodiments with any combination of features from different embodiments described above and below.

The terms used in the claims should be construed to have the broadest reasonable interpretation consistent with the foregoing description. For example, the use of the article “a” or “the” in introducing an element should not be interpreted as being exclusive of a plurality of elements. Likewise, the recitation of “or” should be interpreted as being inclusive, such that the recitation of “A or B” is not exclusive of “A and B,” unless it is clear from the context or the foregoing description that only one of A and B is intended. Further, the recitation of “at least one of A, B and C” should be interpreted as one or more of a group of elements consisting of A, B and C, and should not be interpreted as requiring at least one of each of the listed elements A, B and C, regardless of whether A, B and C are related as categories or otherwise. Moreover, the recitation of “A, B and/or C” or “at least one of A, B or C” should be interpreted as including any singular entity from the listed elements, e.g., A, any subset from the listed elements, e.g., A and B, or the entire list of elements A, B and C. 

1. A method for enforcing access control policies on data owned by a plurality of users, the method comprising: 1) the access control policies of users, b) applying a collusion resistant sharing scheme for generating key shares of an encryption key and delegating the key shares to one or more designated users based on a result of the evaluation of step a), c) dispersing the data by applying an encryption scheme on all parts of the data to be encrypted to produce encrypted data shares, wherein the encryption scheme is provided such that for decryption of the encrypted data, the encryption key and at least a predetermined number of the data shares are provided, d) delegating each of the data shares to one or more designated users, and e) distributing the data shares and the key shares to the respective designated users.
 2. The method according to claim 1, wherein the encryption scheme of step c) is an all-or-nothing encryption being length preserving.
 3. The method according to claim 1, wherein the encryption scheme of step c) uses a fast-Fourier-transform.
 4. The method according to claim 1, wherein the collusion resistant sharing scheme comprises a threshold secret sharing scheme.
 5. The method according to claim 4, wherein the decrypting of the encrypted data is performed when a number of accessible key shares and data shares are above respective thresholds.
 6. The method according to claim 1, further comprising using a cloud storage for storing the data owned by plurality of users, wherein each user of the plurality of users has a personal account for storing a part of the data to be encrypted and for controlling access to the data to be encrypted with the respective access control policy.
 7. The method according to claim 1, further comprising changing access control to the data by at least one of allowing or restricting one or more of the users to access the data shares and the key shares of one or more of the users.
 8. The method according to claim 1, wherein the securely dispersing of step c) uses a forward error correction coding.
 9. A system for enforcing access control policies on data owned by a plurality of users, the system comprising: an evaluation module operable to evaluate the access control policies of the plurality of users, a sharing module operable to apply a collusion resistant sharing scheme for generating key shares of an encryption key and delegating the key shares to one or more designated users based on a result output by the evaluation module, a dispersing module operable to securely disperse the data by applying an encryption scheme on all parts of the data to be encrypted to produce encrypted data shares, wherein the encryption scheme is provided such that for decryption of the encrypted data, the encryption key and at least a predetermined number of the data shares are provided, a delegation module operable to delegate each data share to one or more designated users, and a distribution module operable to distribute the data shares and the key shares to the respective designated users.
 10. The method according to claim 1, further comprising using a cloud storage API.
 11. The method according to claim 1, wherein the applying a collusion resistant sharing scheme is based on secret sharing and attribute-based encryption, and wherein the securely dispersing the data by applying an encryption scheme on all parts of the data to be encrypted is performed using an output of the collusion resistant secret sharing scheme as the encryption key for encryption.
 12. The method according to claim 2, wherein the all-or-nothing encryption uses a symmetric algorithm for both encryption and decryption.
 13. The method according to claim 4, wherein the threshold secret sharing scheme is in the form of a Shamir secret sharing scheme.
 14. The method according to claim 8, wherein the forward error correction coding is a linear block code.
 15. The method according to claim 14, wherein the linear block code is a Reed-Solomon coding.
 16. The system according to claim 9, wherein the collusion resistant sharing scheme is based on secret sharing and attribute based encryption, and wherein applying an encryption scheme on all parts of the data to be encrypted uses an output of the collusion resistant secret sharing scheme as the encryption key for encryption.
 17. The system according to claim 9, wherein the system is a cloud storage system. 